<el-dialog class="dialogStyleBase" title="查看" width="900px" :visible.sync="mixinEdit_editVisible"
    :before-close="function(){mixinEdit_editBoxClose('editForm')}" append-to-body>
    <div v-loading="mixinEdit_loading">
        <el-form ref="editForm" :model="form" label-width="100px" label-position="left">

            <LayoutCell>
                <div style="display: flex;">
                    <div class="level">
                        <span>队长等级</span>
                        <div class="text">{{ level.name }}</div>
                    </div>
                    <div>
                        <el-button @click="setLevel()">编辑等级</el-button>
                        <el-popover
                            style="margin: 0 10px;"
                            width="240"
                            trigger="click">
                            <div style="display: flex;">
                                <el-radio-group v-model="auto_upgrade" style="width: 200px;margin-top: 8px;">
                                    <el-radio :label="0">启用</el-radio>
                                    <el-radio :label="1">禁用</el-radio>
                                </el-radio-group>
                                <div>
                                    <el-button type="text" @click="upgrade()">保存</el-button> 
                                </div>
                            </div>
                            <el-button slot="reference" @click="">自动升级</el-button>
                        </el-popover>
                        {{auto_upgrade == 0 ? '启用' : '禁用'}}
                    </div>
                </div>

                

                <div class="member-list">

                    <div class="member-li">
                        <div>极差分红</div>
                        <div class="text">{{ bonus.stage }}</div>
                    </div>
                    <div class="member-li">
                        <div>平级将分红</div>
                        <div class="text">{{ bonus.equal }}</div>
                    </div>
                    <div class="member-li">
                        <div>育人奖分红</div>
                        <div class="text">{{ bonus.educate }}</div>
                    </div>
                    <div class="member-li">
                        <div>超越奖分红</div>
                        <div class="text">{{ bonus.transcend }}</div>
                    </div>
                    <div class="member-li">
                        <div>预计分红</div>
                        <div class="text">{{ bonus.estimate }}</div>
                    </div>
                    <div class="member-li">
                        <div>待入账分红</div>
                        <div class="text">{{ bonus.waitSettle }}</div>
                    </div>
                    <div class="member-li">
                        <div>累计分红/提现分红</div>
                        <div class="text">{{ bonus.settle }}</div>
                    </div>
                    <div class="member-li">
                        <div>无效分红</div>
                        <div class="text">{{ bonus.failSettle }}</div>
                    </div>
                    <div class="member-li">
                        <div>团队交易额</div>
                        <div class="text">{{ bonus.teamTradeAmount }}</div>
                    </div>
                </div>

            </LayoutCell>

        </el-form>
    </div>
    <div slot="footer">
        <el-row>
            <!-- <el-col :span="12" style="text-align: left;">
                <el-button @click="mixinEdit_resetForm('editForm')">重 置</el-button>
            </el-col> -->
            <el-col :span="24">
                <el-button @click="mixinEdit_editBoxClose('editForm')">关 闭</el-button>
                <!-- <el-button type="primary" @click="mixinEdit_editFormSubmit({model:'form',ref:'editForm'})">确
                    定</el-button> -->
            </el-col>
        </el-row>
    </div>
</el-dialog>